<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
    <title>帮助中心</title>
    <script type="text/javascript" src="/js/lib/require.js"></script>
    <script type="text/javascript" src="/js/require.config.js"></script>
    <script type="text/javascript">
    require(["core"], function() {
        require(["coAjax"], function(coAjax) {
            coAjax.get(appConfig.open.get_bus_recommend_config+appConfig.bus_id,function (result) {
                App.set("$Cache.recommend_config",result.result);
            });
            window.removeLoader();
        });
    });
    </script>
</head>

<body>
    <div style="display:none;" id="jSouperApp" class="_pc">
        {{#include "pages/default/top.html"}}
        <!-- nav-bar -->
        <div style="position: fixed;width: 100%;height: 100%;z-index: 0;top:0;left: 0;background-color:white"></div>
        {{#include "./pages/default/nav-bar.html"}}
        <xmp>
            <div id="main">

                <div class="help" style="position:relative;z-index:1">
                    <div class="bigtitle">“省钱攻略”是{{bus_info.info.title}}推出的一个回馈新老客户的活动</div>
                    <img class="helpimg" src="images/help.jpg" />
                    <div class="box">
                        <div class="bigtitle">
                            <div class="num">1</div>
                            分享链接
                        </div>
                        <div class="info">在本站登陆您的账户后，点开商品详情页，通过分享图形二维码或者商品链接（二维码中带有您的账户认证信息）。</div>
                    </div>

                    <div class="box">
                        <div class="bigtitle">
                            <div class="num">2</div>
                            推荐返利
                        </div>
                        <div class="info">当您把链接或二维码分享给朋友A时，A通过该链接或二维码在本站下单购买此商品可以获得一定折扣，同时您的账号上也会积累一定的分红。</div>
                    </div>

                    <div class="box">
                        <div class="bigtitle">
                            特别提醒
                        </div>
                        <div class="info">1.推荐返利的分红或优惠券会在受邀者成功付款并收货后才可以计数</div>
                        <div class="info">2.返利过程中若遇到消费者退换货，可能会有所延迟</div>
                        <div class="info">3.对于同一店铺的推荐返利活动仅限在此店铺中有效</div>

                    </div>
                    <div class="box">
                        <div class="bigtitle">
                            推荐返利规则
                        </div>
                        {{#if $Cache.recommend_config.length}}
                        <table>
                            <thead>
                                <td></td>
                                <td>订单金额</td>
                                <td>返比</td>
                                <td>购买者享受折扣</td>
                            </thead>
                            {{#each $Cache.recommend_config}}
                            <tr>
                                <td>{{$Index+1}}级规则</td>
                                <td>{{max_price}}</td>
                                <td>{{rate}}</td>
                                <td>{{rate}} ({{10-rate*10}}折)</td>
                            </tr>
                            {{/each}}
                        </table>
                        {{#else}}
                            <p>本店铺暂未设置任何返利优惠，敬请期待</p>
                        {{/if}}
                    </div>
                </div>


            </div>


        </xmp>
        <!-- bottom -->
        {{#include './pages/default/bottom.html'}}
    </div>


</body>

</html>
